import styled from 'styled-components'

export const Container = styled.div`
  margin: 0 auto;
  width: 1200px;
  /* @media (max-width: 1920px) {
    width: 1200px;
  }
  @media (max-width: 1560px) {
    width: 1000px;
  } */
`
export const FilterWrapper = styled.div`
  border: 1px solid #ddd;
  width: 100%;
  padding: 10px;
  margin-top: 20px;
`

export const FilterList = styled.ul`
  display: flex;
  flex-direction: column;
  .type {
    width: 100%;
    border-bottom: 1px dashed #f2f2f2;
    margin-bottom: 4px;
    span {
      float: left;
      width: 70px;
      display: inline-block;
      box-sizing: border-box;
      vertical-align: top;
      line-height: 50px;
      font-size: 14px;
      background: #FAFAFA;
      text-align: center;
    }
  }
`

export const FilterItem = styled.ul`
  margin-left: 70px;
  li {
    line-height: 50px;
    padding: 0px 15px;
    text-align: center;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    a {
      font-size: 14px;
      color: #333;
      text-decoration: none;
      padding: 0px 8px;
      box-sizing: border-box;
      &.active {
        padding: 3px 8px;
        background: #8BCA34;
        color: #fff;
        border-radius: 6px;
        box-sizing: border-box;
      }
    }
  }
`